package com.hello.system.mapper;

import java.util.List;
import com.hello.system.domain.Shops;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * 商家店铺信息Mapper接口
 * 
 * @author hello
 * @date 2025-10-29
 */
@Mapper
public interface ShopsMapper extends BaseMapper<Shops>
{
    /**
     * 查询商家店铺信息
     * 
     * @param shopId 商家店铺信息主键
     * @return 商家店铺信息
     */
    public Shops selectShopsByShopId(Long shopId);

    /**
     * 查询商家店铺信息列表
     * 
     * @param shops 商家店铺信息
     * @return 商家店铺信息集合
     */
    public List<Shops> selectShopsList(Shops shops);

    /**
     * 新增商家店铺信息
     * 
     * @param shops 商家店铺信息
     * @return 结果
     */
    public int insertShops(Shops shops);

    /**
     * 修改商家店铺信息
     * 
     * @param shops 商家店铺信息
     * @return 结果
     */
    public int updateShops(Shops shops);

    /**
     * 删除商家店铺信息
     * 
     * @param shopId 商家店铺信息主键
     * @return 结果
     */
    public int deleteShopsByShopId(Long shopId);

    /**
     * 批量删除商家店铺信息
     * 
     * @param shopIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShopsByShopIds(Long[] shopIds);
}
